import java.util.Scanner;

public class Homework07 {
    public static void main(String[] args) {
        int a=0, e=0;
            int i=0, o=0,u=0,b;//计数
           Scanner sc=new Scanner(System.in);//创建对象
            System.out.print("请您输入:");
            String str= sc.next();//输入字符串
            for(b=0;b<str.length();b++) {
                switch (str.charAt(b)){//查找
                    case 'a' : a++;continue;
                    case 'e' : e++;continue;
                    case 'i' : i++;continue;
                    case 'o' : o++;continue;
                    case 'u' : u++;continue;
                    default: System.out.println(str.charAt(b)+"不是元音");
                }

            }
            System.out.printf("a："+a+"\ne："+e+"\ni："+i+"\no："+o+"\nu："+u);//输出
        }
    }


